package service

import (
	"gin-demo/dao"
	"gin-demo/model"
)

type FoodCategortyService struct {
}

func (fcs *FoodCategortyService) Category() ([]model.FoodCategory, error) {

	foodCategoryDao := dao.NewFoodCategoryDao()
	return foodCategoryDao.QueryCategories()
}
